package com.serviceprovider.business.module.admin.role.services.dao.interfaces;

//~--- non-JDK imports --------------------------------------------------------

import com.serviceprovider.business.module.admin.role.model.RoleHierarchy;
import com.serviceprovider.business.module.common.Page;

//~--- JDK imports ------------------------------------------------------------

import java.util.List;

public interface IRoleHierarchyService {
    void insertRoleHierarchy(RoleHierarchy r);

    List<RoleHierarchy> findAll();

    Page<RoleHierarchy> findAll(int pageNo, int recordSize, String sortColumn, String sortOrder);

    RoleHierarchy getById(int id);

    void update(RoleHierarchy role);

    void deleteById(int[] idList);
}



